package request

type AlibabaMsfserviceWorkerQueryidRequest struct {
	/*
	   手机号     */
	Phone *string `json:"phone,omitempty" required:"false" `
	/*
	   身份证ID     */
	IdNumber *string `json:"id_number" required:"true" `
}

func (s *AlibabaMsfserviceWorkerQueryidRequest) SetPhone(v string) *AlibabaMsfserviceWorkerQueryidRequest {
	s.Phone = &v
	return s
}
func (s *AlibabaMsfserviceWorkerQueryidRequest) SetIdNumber(v string) *AlibabaMsfserviceWorkerQueryidRequest {
	s.IdNumber = &v
	return s
}

func (req *AlibabaMsfserviceWorkerQueryidRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Phone != nil {
		paramMap["phone"] = *req.Phone
	}
	if req.IdNumber != nil {
		paramMap["id_number"] = *req.IdNumber
	}
	return paramMap
}

func (req *AlibabaMsfserviceWorkerQueryidRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
